package com.x86.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 风亦未止
 * @date 2022/4/17 19:47
 */
@ApiModel(value="处理批次")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "batch")
public class Batch implements Serializable {
    @TableId(value = "batchId", type = IdType.INPUT)
    @ApiModelProperty(value="批次id")
    private Integer batchid;

    @TableField(value = "quantity")
    @ApiModelProperty(value="数量")
    private Integer quantity;

    @TableField(value = "name")
    @ApiModelProperty(value="名字")
    private String name;

    @TableField(value = "already")
    @ApiModelProperty(value="已测")
    private Integer already;

    @TableField(value = "`date`")
    @ApiModelProperty(value="时间")
    private String date;

    @TableField(value = "file_path")
    @ApiModelProperty(value = "文件路径")
    private String filePath;

    private static final long serialVersionUID = 1L;

    public static final String COL_BATCHID = "batchId";

    public static final String COL_QUANTITY = "quantity";

    public static final String COL_NAME = "name";

    public static final String COL_ALREADY = "already";

    public static final String COL_DATE = "date";

    public static final String COL_FILE_PATH = "file_path";
}